package com.day02_function;

/**
 * @ClassName: PhoneTest
 * @Author: 豆豆在睡觉
 * @Create 2024/1/14-21:40
 * @Version 1.0
 */
public class PhoneTest {
    public static void changei(int j){
        j = 5;
    }

    public static void main(String[] args) {
        Phone phone = new Phone();
        // 通过对象调用属性或者方法
        phone.name = "jphone";
        phone.price = 44444;
        phone.call();
        phone.sendMessage();
        phone.palyGame();
        int i = 0;
        changei(i);
        System.out.println(i);
    }
}
